<template>
    <navigator
        url="/pages/search/search"
        class="search px-[24rpx] py-[14rpx]"
        hover-class="none"
    >
        <u-search
            placeholder="请输入关键词"
            :bgColor="bgColor"
            disabled
            :show-action="false"
        ></u-search>
    </navigator>
</template>

<script setup lang="ts">
defineProps({
    bgColor: {
        type: String,
        default: "#f2f2f2",
    },
});
</script>
